package com.company.modules.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.modules.project.entity.LoginAuthor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Xmirror
* @description 针对表【login_author(登录授权)】的数据库操作Mapper
* @createDate 2022-02-26 13:18:41
* @Entity com.company.modules.project.entity.LoginAuthor
*/
@Mapper
public interface LoginAuthorMapper extends BaseMapper<LoginAuthor> {

    List<com.company.modules.project.entity.LoginAuthor> selectLoginAuthorByUserId(Integer userId);

    com.company.modules.project.entity.LoginAuthor selectLoginAuthorByLoginAccount(String loginAccount);

    int updateLoginAuthorPassword(Integer userId, String password, String salt);

}
